<!DOCTYPE html>
    <html>
        <head>
            <title>One way data binding</title>
            <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.0.7/angular.js"></script>
            <script src="controller1.js"></script>
        </head>
        <body ng-app="app1">
            <div ng-controller="OneWayBindController">
                <div>
                    Value of a is {{a}} <br> <!-- One way binding thru evaluating expressions-->
                    Value of b is {{b}} <br>
                </div>
                <hr>
                Value of a is <span ng-bind="a"></span><br> <!-- One way binding using ng-bind-->
                Value of b is <span ng-bind="b"></span><br>
            </div>    
        </body>
    </html>